/*
 * Written by Seung Il Moon (simoon@networking.khu.ac.kr)
 * 2011.01.04
 * 
 */

package net.m2m.policyeditor.model;

import net.m2m.policyeditor.view.PEmakeShell;


public class PolicyListMnanager {
	private PEmakeShell PEmkShell;			
//	public PolicyListMnanager() {			
//		policy = new Policy();
//		PolicyList = new ArrayList<Policy>();		
////		PolicyList.add(pc2);
////		PolicyList.add(pc3);
////		for(int i = 0; i < 50; i++) {
////			PolicyList.add(pc2);
////		}
//	}
	
	public void attach(PEmakeShell PEmkShell) {
		// TODO Auto-generated method stub
		this.PEmkShell = PEmkShell;
	}
	
	public void InsertM2MPolicy() {
		M2MCreatePolicy m2mCreatePolicy = new M2MCreatePolicy();
		m2mCreatePolicy.InsertPolicy(PEmkShell.getCreatePolicyForm());
	}
//	public void InsertM2MNetworkConfiguration() {
//		M2MNetworkConfiguration m2mNetworkConfiguration = new M2MNetworkConfiguration();
//		m2mNetworkConfiguration.InsertM2MNetworkConfiguration(PEmkShell.getnetworkConfigurationForm());		
//	}
}
